package com.zf.common.log.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试日志格式
 */
@Slf4j
@RequestMapping("/log")
@RestController
public class LogTestController {

    @GetMapping("/traceId")
    public String traceId() {
        log.info("测试traceId");
        return "success";
    }
}
